package com.zjitc.pojo;

import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author:
 * @date-Time: 2018/4/18 13:44
 * @description:
 */
public class OrderInfo {

  private String type;
  private User user;
  private List<Caritem> caritems;
  private Orders order;
  private String oid;


  public OrderInfo() {
  }

  public OrderInfo(User user, List<Caritem> caritems) {
    this.user = user;
    this.caritems = caritems;
  }

  public OrderInfo(Orders order) {
    this.order = order;
  }

  public OrderInfo( String oid) {
    this.oid = oid;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  public User getUser() {
    return user;
  }

  public void setUser(User user) {
    this.user = user;
  }

  public List<Caritem> getCaritems() {
    return caritems;
  }

  public void setCaritems(List<Caritem> caritems) {
    this.caritems = caritems;
  }

  public Orders getOrder() {
    return order;
  }

  public void setOrder(Orders order) {
    this.order = order;
  }

  public String getOid() {
    return oid;
  }

  public void setOid(String oid) {
    this.oid = oid;
  }
}
